Skip to content

feat: extend address resolver#1549

Open
humanagent wants to merge 2 commits intomainfrom
humanagent/feature-20251122-212313
Open

feat: extend address resolver#1549
humanagent wants to merge 2 commits intomainfrom
humanagent/feature-20251122-212313

Conversation

@humanagent
Copy link
Contributor

@humanagent humanagent commented Nov 23, 2025

Add Ethereum address resolution utilities to sdks/agent-sdk/src/user/NameResolver.ts for parsing mentions and resolving Farcaster domains

Introduce user.NameResolver helpers to parse message mentions and resolve identifiers, including matchShortenedAddress, extractMemberAddresses, resolveIdentifier, extractMentions, resolveMentionsInMessage, and fetchFarcasterProfile in NameResolver.ts.

📍Where to Start

Start with resolveIdentifier and its call sites in NameResolver.ts.


📊 Macroscope summarized 9aae076. 1 file reviewed, 3 issues evaluated, 1 issue filtered, 1 comment posted

🗂️ Filtered Issues

sdks/agent-sdk/src/user/NameResolver.ts — 1 comment posted, 3 evaluated, 1 filtered
  • line 254: fetchFarcasterProfile sets the X-API-KEY header value to Bearer ${apiKey} instead of the raw API key. Most APIs that use X-API-KEY expect the key directly, while Bearer is typically used with the Authorization header. This likely causes authenticated requests to fail silently, and the function will always return emptyProfile. Update the header to headers["X-API-KEY"] = apiKey (or use Authorization: Bearer ... if that is the documented contract). [ Low confidence ]

@humanagent humanagent requested a review from a team as a code owner November 23, 2025 00:23
@vercel
Copy link

vercel bot commented Nov 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
xmtp-chat-api-service Skipped Skipped Nov 23, 2025 0:24am
xmtp-js-xmtp-chat Skipped Skipped Nov 23, 2025 0:24am

@vercel vercel bot temporarily deployed to Preview – xmtp-js-xmtp-chat November 23, 2025 00:23 Inactive
@vercel vercel bot temporarily deployed to Preview – xmtp-chat-api-service November 23, 2025 00:23 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Nov 23, 2025

⚠️ No Changeset found

Latest commit: 9aae076

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – xmtp-js-xmtp-chat November 23, 2025 00:24 Inactive
@vercel vercel bot temporarily deployed to Preview – xmtp-chat-api-service November 23, 2025 00:24 Inactive
@humanagent humanagent changed the title Add Ethereum address resolver feat: add extend address resolver Nov 23, 2025
@humanagent humanagent changed the title feat: add extend address resolver feat: extend address resolver Nov 23, 2025
@github-actions github-actions bot added the Stale label Nov 27, 2025
@github-actions github-actions bot removed the Stale label Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant